<template>
  <div id="milNavList">
    <mil-nav-src v-for="(url,index) in urls" :key="'navUrl'+index" :url="url.url" :urlName="url.urlName" :urlType="url.urlType"></mil-nav-src>
  </div>
</template>
<script>
  import Nav from './nav'
  export default {
      name: 'navList',
      data(){
          urls: [
              {
                  url: '/web/doc',
                  urlName: '这是doc-link',
                  urlType: 'typeLink'
              },
              {
                  url: '/web/doc',
                  urlName: '这是doc-A',
                  urlType: 'typeA'
              },
              {
                  url: '/',
                  urlName: '返回link',
                  urlType: 'typeLink'
              },
              {
                  url: '/',
                  urlName: '返回啊',
                  urlType: 'typeA'
              }

          ]
      }
  }
</script>
<style scoped>
  #milNavList {
    position:fixed;
    top:20px;
    left: 70%;
    width: 250px;
    float:left;
    height: 50px;
    background-color: #90B44B;
    opacity: 0.5;
  }
</style>